.publish-item:active {
    background-color: #efefef;
}
.publish-item::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 96%;
    height: 1px;
    background-color: #eee;
}

.refresh {
    font-size: xrem(1.6rem);
    position: absolute;
    line-height: 60px;
    bottom: 100%;
    text-align: center;
    width: 100%;
}

.loadmore {
    font-size: xrem(1.6rem);
    margin-top: xrem(2rem);
    line-height: 20px;
    text-align: center;
    width: 100%;
}

.publish-item {
    padding: xrem(1rem) xrem(1.2rem);
    font-size: xrem(1.6rem);
    line-height: xrem(3rem);

    .publish-item-header {
        font-size: 120%;
        font-weight: 800;
    }

    .publish-item-mark {
        float: right;
        font-size: xrem(1.2rem);
        color: #808080;
        font-weight: normal;
    }

    .publish-item-footer {
        display: flex;
        justify-content: space-between;
        font-size: xrem(1.2rem);
        color: #808080;
    }

    .label-text {
        display: inline-block;
        // justify-content: center;
        // align-items: center;
        font-size: xrem(1.2rem);
        background-color: #808080;
        color: #fff;
        padding: xrem(0.1rem) xrem(1rem);
        // height: 0;
        line-height: normal;
        border-radius: xrem(1rem);
        vertical-align: xrem(0.2rem);

        &.label-text-blue {
            background-color: #0055b7;
        }

        &.label-text-yellow {
            background-color: #aa7c00;
        }
    }

    .publish-item-btn {
        color: #fff;
        background-color: #e66666;
        border-radius: 3px;
        width: 4rem;
        border: 1px solid #e66666;
        text-align: center;

        &:active {
            background-color: #dc4747;
            border-color: #dc4747;
        }
    }
}

.swiper-container {
    height: 100%;
    padding: xrem(8.6rem) xrem(1rem) xrem(6rem);
    
    .swiper-wrapper::before {
        content: attr(data-refresh-text);
        position: absolute;
        line-height: xrem(4rem);
        bottom: 100%;
        text-align: center;
        width: 100%;
        font-size: xrem(1rem);
    }

    .swiper-wrapper::after {
        content: attr(data-loadmore-text);
        // position: absolute;
        line-height: xrem(4rem);
        // top: 100%;
        text-align: center;
        width: 100%;
        font-size: xrem(1rem);
    }
}

.container {
    padding: xrem(2rem) 16px;
}

.radio-group {
    border-radius: 4px;
    overflow: hidden;
    display: inline-flex;
    margin-top: xrem(0.3rem);

    span {
        display: block;
        border: 1px solid #ccc0f2;
        background-color: #fff;
        color: #333;
        line-height: xrem(1rem);
        padding: xrem(0.6rem);

        &:active {
            background-color: #c7b6fd;
        }
    }

    input {
        display: none;
    }

    input:checked + span {
        background-color: #e1d8ff;
    }
}

.search-select {
    width: 6rem;
    height: 1.2rem;
    line-height: xrem(1rem);
    padding: xrem(0.2rem);
    margin-top: xrem(0.3rem);
    background-color: #fff;
    border: 1px solid #ccc0f2;
    border-radius: 4px;
}

.searchbar {
    position: absolute;
    z-index: 2;
    height: xrem(4rem);
    line-height: xrem(4rem);
    background-color: #5d5def;
    color: #fff;
    display: flex;
    justify-content:space-between;
    padding: 0 xrem(1rem);
    top: 0;
    width: 100%;
    left: 0;

    & > div {
        padding: 0 xrem(0.6rem);
        width: 100%;
    }
}
